package com.wjk.kylin.rpc.core.registry;

import com.wjk.kylin.rpc.core.registry.impl.ZookeeperRegister;

/**
 * 注册中心枚举类
 * @author wjk
 */
public enum RegistryTypeEnum {
    /**
     * zk
     */
    ZOOKEEPER(ZookeeperRegister.class),

    ;
    private final Class<? extends Register> clazz;

    RegistryTypeEnum(Class<? extends Register> clazz) {
        this.clazz = clazz;
    }

    public Class<? extends Register> getClazz() {
        return clazz;
    }
}
